package cn.edu.scau.cmi.wujiaxian.exercise6;

public class Example6_7 {
	public static void main(String[] args) {
		类人猿 monkey = new People1();
		monkey.crySpeak("I love this game");
		People1 people1 = (People1)monkey;
		people1.computer(10, 10);
	}
}

class 类人猿  {
	void crySpeak(String s) {
		System.out.println(s);
	}
}

class People1 extends 类人猿 {
	void computer(int a, int b) {
		int c = a * b;
		System.out.println(c);
	}
	void crySpeak(String s) {
		System.out.println("***" + s + "***");
	}
}